import request from '@/utils/request'

// 查询用户设置列表
export function listRing_user_setting(query) {
  return request({
    url: '/ring/ring_user_setting/list',
    method: 'get',
    params: query
  })
}

// 查询用户设置详细
export function getRing_user_setting(id) {
  return request({
    url: '/ring/ring_user_setting/' + id,
    method: 'get'
  })
}

// 新增用户设置
export function addRing_user_setting(data) {
  return request({
    url: '/ring/ring_user_setting',
    method: 'post',
    data: data
  })
}

// 修改用户设置
export function updateRing_user_setting(data) {
  return request({
    url: '/ring/ring_user_setting',
    method: 'put',
    data: data
  })
}

// 删除用户设置
export function delRing_user_setting(id) {
  return request({
    url: '/ring/ring_user_setting/' + id,
    method: 'delete'
  })
}
